3.397 \(\int \frac {(A+B x) (a+c x^2)^2}{\sqrt {x}} \, dx\)

Optimal. Leaf size=75 \[ 2 a^2 A \sqrt {x}+\frac {2}{3} a^2 B x^{3/2}+\frac {4}{5} a A c x^{5/2}+\frac {4}{7} a B c x^{7/2}+\frac {2}{9} A c^2 x^{9/2}+\frac {2}{11} B c^2 x^{11/2} \]

[Out]

2/3*a^2*B*x^(3/2)+4/5*a*A*c*x^(5/2)+4/7*a*B*c*x^(7/2)+2/9*A*c^2*x^(9/2)+2/11*B*c^2*x^(11/2)+2*a^2*A*x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {766} \[ 2 a^2 A \sqrt {x}+\frac {2}{3} a^2 B x^{3/2}+\frac {4}{5} a A c x^{5/2}+\frac {4}{7} a B c x^{7/2}+\frac {2}{9} A c^2 x^{9/2}+\frac {2}{11} B c^2 x^{11/2} \]

Antiderivative was successfully verified.

[In]

Int[((A + B*x)*(a + c*x^2)^2)/Sqrt[x],x]

[Out]

2*a^2*A*Sqrt[x] + (2*a^2*B*x^(3/2))/3 + (4*a*A*c*x^(5/2))/5 + (4*a*B*c*x^(7/2))/7 + (2*A*c^2*x^(9/2))/9 + (2*B
*c^2*x^(11/2))/11

Rule 766

Int[((e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(e*x
)^m*(f + g*x)*(a + c*x^2)^p, x], x] /; FreeQ[{a, c, e, f, g, m}, x] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \frac {(A+B x) \left (a+c x^2\right )^2}{\sqrt {x}} \, dx &=\int \left (\frac {a^2 A}{\sqrt {x}}+a^2 B \sqrt {x}+2 a A c x^{3/2}+2 a B c x^{5/2}+A c^2 x^{7/2}+B c^2 x^{9/2}\right ) \, dx\\ &=2 a^2 A \sqrt {x}+\frac {2}{3} a^2 B x^{3/2}+\frac {4}{5} a A c x^{5/2}+\frac {4}{7} a B c x^{7/2}+\frac {2}{9} A c^2 x^{9/2}+\frac {2}{11} B c^2 x^{11/2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 59, normalized size = 0.79 \[ \frac {2}{3} a^2 \sqrt {x} (3 A+B x)+\frac {4}{35} a c x^{5/2} (7 A+5 B x)+\frac {2}{99} c^2 x^{9/2} (11 A+9 B x) \]

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x)*(a + c*x^2)^2)/Sqrt[x],x]

[Out]

(2*a^2*Sqrt[x]*(3*A + B*x))/3 + (4*a*c*x^(5/2)*(7*A + 5*B*x))/35 + (2*c^2*x^(9/2)*(11*A + 9*B*x))/99

________________________________________________________________________________________

fricas [A]  time = 0.93, size = 53, normalized size = 0.71 \[ \frac {2}{3465} \, {\left (315 \, B c^{2} x^{5} + 385 \, A c^{2} x^{4} + 990 \, B a c x^{3} + 1386 \, A a c x^{2} + 1155 \, B a^{2} x + 3465 \, A a^{2}\right )} \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)^2/x^(1/2),x, algorithm="fricas")

[Out]

2/3465*(315*B*c^2*x^5 + 385*A*c^2*x^4 + 990*B*a*c*x^3 + 1386*A*a*c*x^2 + 1155*B*a^2*x + 3465*A*a^2)*sqrt(x)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 53, normalized size = 0.71 \[ \frac {2}{11} \, B c^{2} x^{\frac {11}{2}} + \frac {2}{9} \, A c^{2} x^{\frac {9}{2}} + \frac {4}{7} \, B a c x^{\frac {7}{2}} + \frac {4}{5} \, A a c x^{\frac {5}{2}} + \frac {2}{3} \, B a^{2} x^{\frac {3}{2}} + 2 \, A a^{2} \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)^2/x^(1/2),x, algorithm="giac")

[Out]

2/11*B*c^2*x^(11/2) + 2/9*A*c^2*x^(9/2) + 4/7*B*a*c*x^(7/2) + 4/5*A*a*c*x^(5/2) + 2/3*B*a^2*x^(3/2) + 2*A*a^2*
sqrt(x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 54, normalized size = 0.72 \[ \frac {2 \left (315 B \,c^{2} x^{5}+385 A \,c^{2} x^{4}+990 B a c \,x^{3}+1386 A a c \,x^{2}+1155 B \,a^{2} x +3465 A \,a^{2}\right ) \sqrt {x}}{3465} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(c*x^2+a)^2/x^(1/2),x)

[Out]

2/3465*x^(1/2)*(315*B*c^2*x^5+385*A*c^2*x^4+990*B*a*c*x^3+1386*A*a*c*x^2+1155*B*a^2*x+3465*A*a^2)

________________________________________________________________________________________

maxima [A]  time = 0.53, size = 53, normalized size = 0.71 \[ \frac {2}{11} \, B c^{2} x^{\frac {11}{2}} + \frac {2}{9} \, A c^{2} x^{\frac {9}{2}} + \frac {4}{7} \, B a c x^{\frac {7}{2}} + \frac {4}{5} \, A a c x^{\frac {5}{2}} + \frac {2}{3} \, B a^{2} x^{\frac {3}{2}} + 2 \, A a^{2} \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+a)^2/x^(1/2),x, algorithm="maxima")

[Out]

2/11*B*c^2*x^(11/2) + 2/9*A*c^2*x^(9/2) + 4/7*B*a*c*x^(7/2) + 4/5*A*a*c*x^(5/2) + 2/3*B*a^2*x^(3/2) + 2*A*a^2*
sqrt(x)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 53, normalized size = 0.71 \[ 2\,A\,a^2\,\sqrt {x}+\frac {2\,B\,a^2\,x^{3/2}}{3}+\frac {2\,A\,c^2\,x^{9/2}}{9}+\frac {2\,B\,c^2\,x^{11/2}}{11}+\frac {4\,A\,a\,c\,x^{5/2}}{5}+\frac {4\,B\,a\,c\,x^{7/2}}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + c*x^2)^2*(A + B*x))/x^(1/2),x)

[Out]

2*A*a^2*x^(1/2) + (2*B*a^2*x^(3/2))/3 + (2*A*c^2*x^(9/2))/9 + (2*B*c^2*x^(11/2))/11 + (4*A*a*c*x^(5/2))/5 + (4
*B*a*c*x^(7/2))/7

________________________________________________________________________________________

sympy [A]  time = 1.44, size = 78, normalized size = 1.04 \[ 2 A a^{2} \sqrt {x} + \frac {4 A a c x^{\frac {5}{2}}}{5} + \frac {2 A c^{2} x^{\frac {9}{2}}}{9} + \frac {2 B a^{2} x^{\frac {3}{2}}}{3} + \frac {4 B a c x^{\frac {7}{2}}}{7} + \frac {2 B c^{2} x^{\frac {11}{2}}}{11} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x**2+a)**2/x**(1/2),x)

[Out]

2*A*a**2*sqrt(x) + 4*A*a*c*x**(5/2)/5 + 2*A*c**2*x**(9/2)/9 + 2*B*a**2*x**(3/2)/3 + 4*B*a*c*x**(7/2)/7 + 2*B*c
**2*x**(11/2)/11

________________________________________________________________________________________